//
// Created by Administrator on 2024/11/3.
//

#include <iostream>
#include "arrUtil.h"


using namespace std;

int main()
{
    vector<int> l{9, 8, 7, 5, 6, 4, 3, 2, 1};
    randVector( l,1000);
    for (int i = 1; i < l.size(); ++i)
    {
        int cur = l[i];
        int j = i;
        for (; l[j - 1] > cur && j > 0; --j)
        {
            l[j]=l[j-1];
        }
        l[j]=cur;
    }
//    printVector(l);
    cout<<checkSortVector(l);
    return 0;
}